package HomeElements;

import android.support.test.uiautomator.UiDevice;
import static util.GetDevice.getDevice;

/**
 * Created by zhe.xiao on 2017/6/26.
 */

public class WatcherAll {
    private static UiDevice device = getDevice();
    /**
     * 注册首页提示升级窗口监听器
     */
    public static void homeShengJiWatcher(){
        device.registerWatcher("hoemShengJi", new Watchers.HomeW());
        device.registerWatcher("homeTan", new Watchers.HomeTan());
    }

    /**
     * 接机送监听器注册
     */
    public static void jieJiSongWatcher(){
        device.registerWatcher("jiejisong1", new Watchers.JieJISongW1());
        device.registerWatcher("jiejisong2", new Watchers.JieJISongW2());
    }
}
